package edu.xjnu.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author David
 * @since 2023-03-18
 */
@RestController
@RequestMapping("/user-entity")
public class UserController {

    @GetMapping("/hello")
    @ApiOperation(value = "测试接口 - hello")
    public String hello(){
        return "Hello, world";
    }
}
